package com.mdb.open.trade.domain.dto.trade;


import com.mdb.bc.api.data.DataObjectBase;
import com.mdb.bc.validator.annotaion.validation.NotAllEmpty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
* 融资申请查询dto
* @author you.yichao
*/
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value="LoanApplyQueryDto", description="融资申请查询dto")
@NotAllEmpty(selected = {"tradeFileNo", "applyOrderNo", "businessNo"}, message = "贸易档案编号,融资申请单号,业务编号至少有一个不能为空")
public class LoanApplyQueryDto extends DataObjectBase {

    private static final long serialVersionUID = 1L;

    /**
    * 贸易档案编号
    */
    @ApiModelProperty(value = "贸易档案编号")
    private String tradeFileNo;

    /**
    * 融资申请单号
    */
    @ApiModelProperty(value = "融资申请单号")
    private String applyOrderNo;

    /**
     * 业务编号
     */
    @ApiModelProperty(value = "业务编号")
    private String businessNo;

}
